package xyz.jangle.dao;

import java.util.List;

import xyz.jangle.model.BsAttachment;

public interface BsAttachmentMapper {
	
	List<BsAttachment> selectPage(BsAttachment record);
	/**
	 * 分页查询统计数量
	 * @param record
	 * @return
	 */
	Long selectPageCount(BsAttachment record);

	BsAttachment selectByPrimaryKey(Long id);

	Long insert(BsAttachment record);

	Long updateByPrimaryKey(BsAttachment record);
	/**
	 * 批量删除（改状态）
	 * @param record
	 */
	Long batchDeleteByPrimaryKey(BsAttachment record);
	Long deleteByPrimaryKey(Long id);

}
